Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set provided name on transforms with side outputs #4779

Merged
merged 4 commits into from
Apr 17, 2023
Merged

Conversation

RustedBones
Copy link
Contributor

Fix #4777

Do not run scio context when only asserting on names to speedup testing

@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

Merging #4779 (9ca4a55) into main (d5b1331) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 9ca4a55 differs from pull request most recent head 519663d. Consider uploading reports for the commit 519663d to get more accurate results

@@            Coverage Diff             @@
##             main    #4779      +/-   ##
==========================================
+ Coverage   61.08%   61.10%   +0.01%     
==========================================
  Files         286      286              
  Lines       10555    10558       +3     
  Branches      771      768       -3     
==========================================
+ Hits         6448     6451       +3     
  Misses       4107     4107              
Impacted Files Coverage Δ
...in/scala/com/spotify/scio/values/SCollection.scala 94.02% <100.00%> (ø)
...potify/scio/values/SCollectionWithSideOutput.scala 100.00% <100.00%> (ø)
...la/com/spotify/scio/values/TransformNameable.scala 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment on lines -35 to -36
val internal: PCollection[T],
val context: ScioContext,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change.
We need to have access to the Scollecction to get the name. The new definition is consistent with other SCollection wrapper

@RustedBones RustedBones requested review from a team and jjengo and removed request for a team April 13, 2023 11:51
@RustedBones RustedBones merged commit d9f90d5 into main Apr 17, 2023
@RustedBones RustedBones deleted the side-output-name branch April 17, 2023 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCollectionWithSideOutput doesn't respect name from the input SCollection
2 participants